#include <iostream>
#include <cstring>
using namespace std;

class Person
{
  char Name[10];
  char Sex[10];
  int Age;

public:
  void Register(char *name, int age, char *sex);
  void ShowMe();
};



class Teacher:public Person
{
  private:
    char Dept[20];
    int Salary;

  public:
    Teacher()
}